package cn.iocoder.yudao.module.api.trade.order.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  这里是文件说明
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/05/06
 */
@Data
public class TradeOrderQueryDTO extends TradeOrderStatusDTO {

    @Schema(description = "订单类型：0-普通、1-秒杀、2-砍价、3-拼团、4-积分兑换、5-联盟豆兑换、6-团购、10-外送、20-美食、30-酒店、40-娱乐、50-家政、999-赠品", example = "0")
    private Integer orderType;

    @Schema(description = "订单状态：不传/空串-全部、payment-待支付、doing-进行中（待发货/待配送/待收货/待核销）、deliver-待配送、receive-待收货、clerk-待核销、comment-待评价、return-售后、complete-已完成", example = "payment")
    private String orderStatus;

    @Schema(description = "售后状态：不传/空串-全部、10-申请中、20-卖家通过、30-待卖家收货、40-等待平台退款、50-完成、61-买家取消售后、62-卖家拒绝、63-卖家拒绝收货", example = "10")
    private Integer afterSaleStatus;

    @Schema(description = "订单编号集合", example = "1,2")
    @JsonIgnore
    private List<Long> ids;

}
